PM3.02 - King Dedede - Action - 0x137

Entry Script

  1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  2. PreviousInterruptAddRequirement(OnGround)
  3. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
  4. PreviousInterruptAddRequirement(InAir)
  5. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  6. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
          1. ChangeSubaction(SpecialLwMax)
        2. else
          1. ChangeSubactionRestartFrame(SpecialLwMax)
          2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      4. else
        1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
          1. ChangeSubaction(SpecialLw)
        2. else
          1. ChangeSubactionRestartFrame(SpecialLw)
          2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(0)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
          1. ChangeSubaction(SpecialAirLwMax)
        2. else
          1. ChangeSubactionRestartFrame(SpecialAirLwMax)
          2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      4. else
        1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
          1. ChangeSubaction(SpecialAirLw)
        2. else
          1. ChangeSubactionRestartFrame(SpecialAirLw)
          2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script